#import "../fragments/last_state_transition.fragment.graphql"

mutation vulnerabilityResolve($id: VulnerabilityID!, $comment: String) {
  vulnerabilityResolve(input: { id: $id, comment: $comment }) {
    errors
    vulnerability {
      id
      state
      resolvedAt
      resolvedBy {
        id
      }
      ...LastStateTransition
    }
  }
}
